package com.itheima_01;

public class BasketballCoach extends Coach {
    public BasketballCoach() {
    }

    public BasketballCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("教篮球");

    }

    @Override
    public void eat() {
        System.out.println("吃面条");
    }
}
